package com.example.mybaiduweishi.activity;

import android.content.Intent;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.example.mybaiduweishi.R;
import com.example.mybaiduweishi.activity.base.BaseActivity;

import butterknife.BindView;


public class UserActivity extends BaseActivity {

    @BindView(R.id.toolbar)
    Toolbar toolbar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setSupportActionBar(toolbar);
        ActionBar actionBar=getSupportActionBar();
        actionBar.setDisplayHomeAsUpEnabled(true);
    }

    public void onclick(View view)
    {
        switch (view.getId()){
            case R.id.layout_update:
                startActivity(new Intent(UserActivity.this,UpdateActivity.class));
                break;


        }
    }




    @Override
    public int getContentXML() {
        return R.layout.activity_user;
    }

    @Override
    public void initData() {

    }

    @Override
    public void initView() {

    }
}
